﻿<Activity mc:Ignorable="sap sap2010 sads" x:Class="T2.WebSecurity.Business.Workflows.UserProfile"
 xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:mca="clr-namespace:Microsoft.CSharp.Activities;assembly=System.Activities"
 xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger"
 xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
 xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation"
 xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
 xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib"
 xmlns:twb="clr-namespace:T2.WebSecurity.Business;assembly=T2.WebSecurity.Business.Entities"
 xmlns:twbei="clr-namespace:T2.WebSecurity.Business.Entities.Interfaces;assembly=T2.WebSecurity.Business.Entities"
 xmlns:twbwadu="clr-namespace:T2.WebSecurity.Business.Workflow.Activities.Db.UserProfile;assembly=T2.WebSecurity.Business.Workflow.Activities"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <x:Members>
    <x:Property Name="UserName" Type="InArgument(x:String)" />
    <x:Property Name="BusinessService" Type="InArgument(twb:IBusinessService)" />
    <x:Property Name="ResultOut" Type="OutArgument(x:Boolean)" />
  </x:Members>
  <sap2010:ExpressionActivityEditor.ExpressionActivityEditor>C#</sap2010:ExpressionActivityEditor.ExpressionActivityEditor>
  <sap2010:WorkflowViewState.IdRef>T2.WebSecurity.Business.Workflows.UserProfile_1</sap2010:WorkflowViewState.IdRef>
  <TextExpression.NamespacesForImplementation>
    <sco:Collection x:TypeArguments="x:String">
      <x:String>System</x:String>
      <x:String>System.Collections.Generic</x:String>
      <x:String>System.Data</x:String>
      <x:String>System.Linq</x:String>
      <x:String>System.Text</x:String>
      <x:String>T2.WebSecurity.Business.Entities</x:String>
      <x:String>T2.WebSecurity.Business.Entities.Interfaces</x:String>
      <x:String>T2.WebSecurity.Business.Workflow.Activities.Db.UserProfile</x:String>
      <x:String>T2.WebSecurity.Business</x:String>
    </sco:Collection>
  </TextExpression.NamespacesForImplementation>
  <TextExpression.ReferencesForImplementation>
    <sco:Collection x:TypeArguments="AssemblyReference">
      <AssemblyReference>EntityFramework</AssemblyReference>
      <AssemblyReference>Microsoft.Practices.EnterpriseLibrary.Common</AssemblyReference>
      <AssemblyReference>Microsoft.Practices.EnterpriseLibrary.Data</AssemblyReference>
      <AssemblyReference>Microsoft.Practices.EnterpriseLibrary.Logging</AssemblyReference>
      <AssemblyReference>Microsoft.Practices.EnterpriseLibrary.Logging.Database</AssemblyReference>
      <AssemblyReference>Microsoft.Practices.EnterpriseLibrary.Validation</AssemblyReference>
      <AssemblyReference>System</AssemblyReference>
      <AssemblyReference>System.Activities</AssemblyReference>
      <AssemblyReference>System.Configuration</AssemblyReference>
      <AssemblyReference>System.Core</AssemblyReference>
      <AssemblyReference>System.Drawing</AssemblyReference>
      <AssemblyReference>System.Management</AssemblyReference>
      <AssemblyReference>System.ServiceModel</AssemblyReference>
      <AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
      <AssemblyReference>System.Web</AssemblyReference>
      <AssemblyReference>System.Web.ApplicationServices</AssemblyReference>
      <AssemblyReference>System.Web.Providers</AssemblyReference>
      <AssemblyReference>System.Web.Services</AssemblyReference>
      <AssemblyReference>System.Workflow.Activities</AssemblyReference>
      <AssemblyReference>System.Workflow.ComponentModel</AssemblyReference>
      <AssemblyReference>System.Workflow.Runtime</AssemblyReference>
      <AssemblyReference>System.WorkflowServices</AssemblyReference>
      <AssemblyReference>System.Xaml</AssemblyReference>
      <AssemblyReference>System.Xml.Linq</AssemblyReference>
      <AssemblyReference>System.Data.DataSetExtensions</AssemblyReference>
      <AssemblyReference>Microsoft.CSharp</AssemblyReference>
      <AssemblyReference>System.Data</AssemblyReference>
      <AssemblyReference>System.Xml</AssemblyReference>
      <AssemblyReference>WebMatrix.WebData</AssemblyReference>
      <AssemblyReference>T2.WebSecurity.Business.Entities</AssemblyReference>
      <AssemblyReference>T2.WebSecurity.Business.Workflow.Activities</AssemblyReference>
      <AssemblyReference>T2.WebSecurity.Common</AssemblyReference>
      <AssemblyReference>T2.WebSecurity.Data</AssemblyReference>
      <AssemblyReference>mscorlib</AssemblyReference>
      <AssemblyReference>T2.WebSecurity.Business</AssemblyReference>
    </sco:Collection>
  </TextExpression.ReferencesForImplementation>
  <Sequence sap2010:WorkflowViewState.IdRef="Sequence_1">
    <Sequence.Variables>
      <Variable x:TypeArguments="twbei:IUserProfile_biz" Name="UserCheckResult" />
    </Sequence.Variables>
    <twbwadu:UserProfile_AddCodeActivity sap2010:WorkflowViewState.IdRef="UserProfile_AddCodeActivity_3">
      <twbwadu:UserProfile_AddCodeActivity.BusinessService>
        <InArgument x:TypeArguments="twb:IBusinessService">
          <mca:CSharpValue x:TypeArguments="twb:IBusinessService">BusinessService</mca:CSharpValue>
        </InArgument>
      </twbwadu:UserProfile_AddCodeActivity.BusinessService>
      <twbwadu:UserProfile_AddCodeActivity.Result>
        <OutArgument x:TypeArguments="twbei:IUserProfile_biz">
          <mca:CSharpReference x:TypeArguments="twbei:IUserProfile_biz">UserCheckResult</mca:CSharpReference>
        </OutArgument>
      </twbwadu:UserProfile_AddCodeActivity.Result>
      <twbwadu:UserProfile_AddCodeActivity.UserName>
        <InArgument x:TypeArguments="x:String">
          <mca:CSharpValue x:TypeArguments="x:String">UserName</mca:CSharpValue>
        </InArgument>
      </twbwadu:UserProfile_AddCodeActivity.UserName>
    </twbwadu:UserProfile_AddCodeActivity>
    <If sap2010:WorkflowViewState.IdRef="If_1">
      <If.Condition>
        <InArgument x:TypeArguments="x:Boolean">
          <mca:CSharpValue x:TypeArguments="x:Boolean">UserCheckResult==null</mca:CSharpValue>
        </InArgument>
      </If.Condition>
      <If.Then>
        <Assign sap2010:WorkflowViewState.IdRef="Assign_1">
          <Assign.To>
            <OutArgument x:TypeArguments="x:Boolean">
              <mca:CSharpReference x:TypeArguments="x:Boolean">ResultOut</mca:CSharpReference>
            </OutArgument>
          </Assign.To>
          <Assign.Value>
            <InArgument x:TypeArguments="x:Boolean">True</InArgument>
          </Assign.Value>
        </Assign>
      </If.Then>
      <If.Else>
        <Assign sap2010:WorkflowViewState.IdRef="Assign_2">
          <Assign.To>
            <OutArgument x:TypeArguments="x:Boolean">
              <mca:CSharpReference x:TypeArguments="x:Boolean">ResultOut</mca:CSharpReference>
            </OutArgument>
          </Assign.To>
          <Assign.Value>
            <InArgument x:TypeArguments="x:Boolean">False</InArgument>
          </Assign.Value>
        </Assign>
      </If.Else>
    </If>
    <sads:DebugSymbol.Symbol>d1tDOlxQcm9qZWN0c1xUMlxUMlNlY3VyaXR5XFQyLldlYlNlY3VyaXR5XFQyLldlYlNlY3VyaXR5LkJ1c2luZXNzXFdvcmtmbG93c1xVc2VyUHJvZmlsZS54YW1sDUkDfg4CAQFNBV0rAgEWXgV8CgIBAloLWlECASFQC1BkAgEcVQtVbgIBF2ELYV8CAQNlCW4SAgEPcQl6EgIBCGw1bDkCARVoD2hfAgEQeDV4OgIBDnQPdF8CAQk=</sads:DebugSymbol.Symbol>
  </Sequence>
  <sap2010:WorkflowViewState.ViewStateManager>
    <sap2010:ViewStateManager>
      <sap2010:ViewStateData Id="UserProfile_AddCodeActivity_3" sap:VirtualizedContainerService.HintSize="509,22" />
      <sap2010:ViewStateData Id="Assign_1" sap:VirtualizedContainerService.HintSize="242,62" />
      <sap2010:ViewStateData Id="Assign_2" sap:VirtualizedContainerService.HintSize="242,62" />
      <sap2010:ViewStateData Id="If_1" sap:VirtualizedContainerService.HintSize="509,212" />
      <sap2010:ViewStateData Id="Sequence_1" sap:VirtualizedContainerService.HintSize="531,398">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="T2.WebSecurity.Business.Workflows.UserProfile_1" sap:VirtualizedContainerService.HintSize="571,478" />
    </sap2010:ViewStateManager>
  </sap2010:WorkflowViewState.ViewStateManager>
</Activity>